<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>

<!DOCTYPE HTML>
<html>
<head>
<title>人员搜索</title>
<%@ include file="/common/meta.jsp"%>
<link href="${res }/css/pop.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div class="t_bar2">从已注册的项目申报人中，查询、选择特例项目的申报人</div>
	<div class="set_up">
		<ul>
		<div class="detail ico_search">
			<table>
				<tr>
					<td rowspan="2"><strong>检索条件：</strong>
					</td>
					
						<td>
							<cpt:search key="grant_special_search"  repeatColumn="2" displayCount="4" leftStyle="width:100px"></cpt:search>
						</td>
					
				</tr>
				<tr>
				<td>
					<div class="clear_h10"></div>
					<input type='button' id='searchBt' class="button_an" value='查询' />
				</td>
				</tr>
				
			</table>
		</div>
		
		</ul>
	</div>
	<div class="clear_h10"></div>
	<div id='TopBarMnt'></div>
		<table id="psnGrid"></table>
	<div id="dataBar"></div>
	<br/>
	<div class="t_bar2">备注</div>
	特例项目的申报人必须是已注册的项目申报人。如拟组织项目的申报人仍未注册，请先通知申报人在系统中进行有效注册，再行设置特例处理。
</body>

<script type="text/javascript">
	jQuery(function() {
		queryflex();
		buildGrid();
		$(".ui-jqgrid-btable, .ui-jqgrid-htable").css("width", "50px");
		
	});
	
	var irisGrid = null;
	function buildGrid() {
		irisGrid = new IrisGrid("psnGrid", "dataBar", 'TopBarMnt');
		var columnAttrList = new Array();
		
		var columnAttr6 = new ColumnAttr("", "选择", "选择", 1,
				"center", false);
		columnAttrList.push(columnAttr6);
		
		var columnAttr1 = new ColumnAttr("姓名", "zhName",
				"zhName", 1, "left", true);
		columnAttrList.push(columnAttr1);
		
		var columnAttr2 = new ColumnAttr("性别", "status",
				"enable", 1, "center", true);
		columnAttrList.push(columnAttr2);
		
		var columnAttr3 = new ColumnAttr("单位名称", "orgName", "orgName", 2,
				"center", false);
		
		columnAttrList.push(columnAttr3);
		
		var columnAttr4 = new ColumnAttr("电子邮箱", "email", "email", 2,
				"center", false);
		columnAttrList.push(columnAttr4);
		var columnAttr5 = new ColumnAttr("手机号", "mobile", "mobile", 2,
				"center", false);
		columnAttrList.push(columnAttr5);
		
		
		irisGrid.setColumnAttrs(columnAttrList);
		irisGrid.setUrl("${ctx}/prpapprove/addPsnName");
		irisGrid.setWidth('650');
		irisGrid.setCheckAble(false);
		irisGrid.setShowRowIndex(true);
		irisGrid.setQueryBox('searchBt', 'grant_special_search');
		irisGrid.setCanExportExcel(true);
		irisGrid.setLazyLoad(true);
		irisGrid.setRowList([5, 10, 20, 30, 50, 100 ]);
		irisGrid.setRowNum(5);
		irisGrid.build();
	}
	
	function setPrjAdmin(psn_code,psn_name){
				parent.selectAdminPsnCall(psn_code,psn_name);
				scmSuccess("操作成功！");
			
		}
	
	function popPsnDetail(psnCode){
		tb_show(irisNotes.viewPersonalInformation,ctx+"/psn-manage/childlevel/personinfo?flag=view&psncode=" + psnCode
					+ "&TB_iframe=true&height=460&width=900", false);
	};
</script>
</html>
